﻿@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

    <section id="content" role="main">

                <header>
                    <div id="proj-config-return-link" class="ops-cont">
        <ul class="ops">
            <li>
                <a id="back-lnk" class="back-to-proj-config button first last" href="/plugins/servlet/project-config/AN/summary"><span class="icon icon-back"><span>Back to project: Angel</span></span>Back to project: Angel</a>
            </li>
        </ul>
    </div>
<h1 id="admin-page-heading">Users</h1>
                </header>
            
            <div class="content-container">
                

                <div class="content-body aui-panel">
                    

<style type="text/css"> .fieldLabelArea {width: 50%;}</style>



<form action="DeleteUser.jspa" method="post" name="jiraform" onsubmit="if (this.submitted) return false; this.submitted = true; return true"  >

	
	<table class="jiraform maxWidth" id="delete_user_confirm"
    >
	

	
	<tr class="titlerow">
		<td colspan="2" class="jiraformheader">
        
        <h3 class="formtitle">Delete User: anhhoa</h3>
        
        </td>
	</tr>
	
	
	<tr class="descriptionrow">
		<td colspan="2" class="jiraformheader">
            <div class="desc-wrap">
   

<div class="aui-message warning"><span class="aui-icon icon-warning"></span>
                        <p>Users may only be deleted if they have no assigned or reporter issues. All filters and associated subscriptions will also be removed.</p>
                        <p>Please note that any components with this user set as the lead will have the component lead set to empty when the user is deleted.</p>
                    </div>









            </div>
        </td>
	</tr>

    
<script type="text/javascript">
    function toggle(mode, elementId) {
        var hideElement;
        var showElement;

        if (mode == "hide") {
            hideElement = document.getElementById('long_' + elementId);
            showElement = document.getElementById('short_' + elementId);
        }
        else {
            hideElement = document.getElementById('short_' + elementId);
            showElement = document.getElementById('long_' + elementId);
        }

        if (hideElement && showElement) {
            hideElement.style.display = 'none';
            showElement.style.display = '';
        }
    }
</script>

	<tr >

				<td class="fieldLabelArea">
			
		
        
        
 		
		Shared Filters
        
        
		</td>

	<td class="fieldValueArea" >

         <span id="numberOfFilters">0</span>

	</td>

</tr>

	<tr   >
		
		
				<td class="fieldLabelArea">

		Others&#39; Favorite Filters
        
        
		</td>

	<td class="fieldValueArea" >

         <span id="numberOfOtherFavouritedFilters">0</span>
<div class="fieldDescription">
        (Number of this user's filters that other users have nominated as favorites)
    </div>
	</td>

</tr>

	<tr>
				<td class="fieldLabelArea">
		
		Shared Dashboards
        
        
		</td>

	<td class="fieldValueArea" >


         <span id="numberOfNonPrivatePortalPages">0</span>

	</td>

</tr>


	<tr   >

				<td class="fieldLabelArea">

		Others&#39; Favorite Dashboards
        
        
		</td>

	<td class="fieldValueArea" >
         <span id="numberOfOtherFavouritedPortalPages">0</span>
      




<div class="fieldDescription">
        (Number of this user's dashboards that other users have nominated as favorites)
    </div>
	</td>

</tr>
	<tr>
<td class="fieldLabelArea">
 		
		Assigned Issues
        
        
		</td>

	<td class="fieldValueArea" >

         0

	</td>

</tr>

	<tr  >
<td class="fieldLabelArea">

		Reported Issues
        
        
		</td>

	<td class="fieldValueArea" >

         0

	</td>

</tr>

	<tr class="buttons-container">
    
        <td class="jiraformfooter">&nbsp;</td>
        <td colspan="1">
    
            <div class="buttons-container">
                <div class="buttons">
                    @Html.ActionLink("Delete", "Delete", "User", new { @class = "aui-button", id = "delete_submit" })
                    @Html.ActionLink("Cancel", "Index", "User", new { @class = "aui-button-cancel", id = "cancelButton" })
                </div>
            </div>
		</td>
	</tr>

	</table>
</form>
</div>
</div>
</section>

